from PIL import Image

img = Image.open("Image.ppm")
img.save("25_color.jpg")
img.show()